package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 供应商的基本信息
    */
public class Supplier implements Serializable {
    private Integer id;

    /**
    * 企业名称
    */
    private String name;

    /**
    * 简称
    */
    private String abbreviation;

    /**
    * 税号
    */
    private String dutyParagraph;

    /**
    * 类型，从数据库字典中获取
    */
    private Integer dictionaryIdType;

    /**
    * 公司地址
    */
    private String address;

    /**
    * 法定代表人
    */
    private String legalRepresentative;

    /**
    * 注册金额
    */
    private String registeredAmount;

    /**
    * 币种，从数据库字典中获取
    */
    private Integer dictionaryIdCurrency;

    /**
    * 公司成立时间
    */
    private Date createTime;

    /**
    * 截止日期
    */
    private Date endTime;

    /**
    * 经营范围
    */
    private String natureOfBusiness;

    /**
    * 登记机关
    */
    private String registrationAuthority;

    /**
    * 所有制性质,在数据库字典上查找
    */
    private Integer dictionaryIdOwnership;

    /**
    * 联系电话
    */
    private String photo;

    /**
    * 营业执照（附件）
    */
    private String businessLicense;

    /**
    * 企业传真
    */
    private String fax;

    /**
    * 添加时间
    */
    private Date addTime;

    /**
    * 添加人的id
    */
    private Integer addStaffId;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 修改人
    */
    private Integer updateStaffId;

    /**
    * 是否为供应商（0不是供应商，1是供应商）
    */
    private Boolean supplier;

    /**
    * 是否守信（0未授信 1授信  2拒绝授信）
    */
    private Integer creditExtension;

    /**
    * 授信时间
    */
    private Date creditExtensionTime;

    /**
    * 授信人
    */
    private Integer creditExtensionStaffId;

    /**
    * 消息的渠道（数据库字典中获取）
    */
    private Integer dictionaryIdChannel;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getDutyParagraph() {
        return dutyParagraph;
    }

    public void setDutyParagraph(String dutyParagraph) {
        this.dutyParagraph = dutyParagraph;
    }

    public Integer getDictionaryIdType() {
        return dictionaryIdType;
    }

    public void setDictionaryIdType(Integer dictionaryIdType) {
        this.dictionaryIdType = dictionaryIdType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getRegisteredAmount() {
        return registeredAmount;
    }

    public void setRegisteredAmount(String registeredAmount) {
        this.registeredAmount = registeredAmount;
    }

    public Integer getDictionaryIdCurrency() {
        return dictionaryIdCurrency;
    }

    public void setDictionaryIdCurrency(Integer dictionaryIdCurrency) {
        this.dictionaryIdCurrency = dictionaryIdCurrency;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getNatureOfBusiness() {
        return natureOfBusiness;
    }

    public void setNatureOfBusiness(String natureOfBusiness) {
        this.natureOfBusiness = natureOfBusiness;
    }

    public String getRegistrationAuthority() {
        return registrationAuthority;
    }

    public void setRegistrationAuthority(String registrationAuthority) {
        this.registrationAuthority = registrationAuthority;
    }

    public Integer getDictionaryIdOwnership() {
        return dictionaryIdOwnership;
    }

    public void setDictionaryIdOwnership(Integer dictionaryIdOwnership) {
        this.dictionaryIdOwnership = dictionaryIdOwnership;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Boolean getSupplier() {
        return supplier;
    }

    public void setSupplier(Boolean supplier) {
        this.supplier = supplier;
    }

    public Integer getCreditExtension() {
        return creditExtension;
    }

    public void setCreditExtension(Integer creditExtension) {
        this.creditExtension = creditExtension;
    }

    public Date getCreditExtensionTime() {
        return creditExtensionTime;
    }

    public void setCreditExtensionTime(Date creditExtensionTime) {
        this.creditExtensionTime = creditExtensionTime;
    }

    public Integer getCreditExtensionStaffId() {
        return creditExtensionStaffId;
    }

    public void setCreditExtensionStaffId(Integer creditExtensionStaffId) {
        this.creditExtensionStaffId = creditExtensionStaffId;
    }

    public Integer getDictionaryIdChannel() {
        return dictionaryIdChannel;
    }

    public void setDictionaryIdChannel(Integer dictionaryIdChannel) {
        this.dictionaryIdChannel = dictionaryIdChannel;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", abbreviation=").append(abbreviation);
        sb.append(", dutyParagraph=").append(dutyParagraph);
        sb.append(", dictionaryIdType=").append(dictionaryIdType);
        sb.append(", address=").append(address);
        sb.append(", legalRepresentative=").append(legalRepresentative);
        sb.append(", registeredAmount=").append(registeredAmount);
        sb.append(", dictionaryIdCurrency=").append(dictionaryIdCurrency);
        sb.append(", createTime=").append(createTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", natureOfBusiness=").append(natureOfBusiness);
        sb.append(", registrationAuthority=").append(registrationAuthority);
        sb.append(", dictionaryIdOwnership=").append(dictionaryIdOwnership);
        sb.append(", photo=").append(photo);
        sb.append(", businessLicense=").append(businessLicense);
        sb.append(", fax=").append(fax);
        sb.append(", addTime=").append(addTime);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", supplier=").append(supplier);
        sb.append(", creditExtension=").append(creditExtension);
        sb.append(", creditExtensionTime=").append(creditExtensionTime);
        sb.append(", creditExtensionStaffId=").append(creditExtensionStaffId);
        sb.append(", dictionaryIdChannel=").append(dictionaryIdChannel);
        sb.append("]");
        return sb.toString();
    }
}